package com.woniu.core.exception.token;


import com.woniu.core.exception.WoniuxyException;

public class TokenException extends WoniuxyException {
    private static final long serialVersionUID = 1L;
    public TokenException(TokenExceptionCode tokenExceptionCode) {
        super(tokenExceptionCode.getMessage(), tokenExceptionCode.getCode());
    }

    public TokenException(String message, Integer code){
        super(message,code);
    }
}
